package com.example.day05;

class Base{
    	static{
     		System.out.println("base static");
 		}
   		 public Base(){
     		System.out.println("base constructor");
 		}
}

//先有父类再有子类
public class Test extends Base{

		static{
   			 System.out.println("test static");
		}
 
		public Test(){
			super();
   			 System.out.println("test constructor");
		}
 
		public static void main(String[] args) {
    			new Test();
		}
}